package com.zjj.learn.designmodel.pattern.factory.simple_factory;

/**
 * *** @author zjj_admin
 * *** 2022/4/5 20:10
 */
public class CoffeeTest2 {

    public static void main(String[] args) {
        CoffeeStore store = new CoffeeStore();
        Coffee coffee = store.orderCoffee("latte");
        System.out.println(coffee.getName());
    }
}
